﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _02SignOfProduct
{
    class _02SignOfProduct
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Enter three integers(positive or neagtive):");
            Console.Write("a = ");
            string firstValue = Console.ReadLine();
            int a = int.Parse(firstValue);
            Console.Write("b = ");
            string secondValue = Console.ReadLine();
            int b = int.Parse(secondValue);
            Console.Write("c = ");
            string thirdValue = Console.ReadLine();
            int c = int.Parse(thirdValue);
            
            if ((a == 0) || (b == 0) || (c == 0))
            {
                Console.WriteLine("The product of the three is zero.");
            }
            else if ((a < 0) && (b > 0) && (c > 0))
            {
                Console.WriteLine("The product of the three is negative.");
            }
            else if ((a > 0) && (b < 0) && (c > 0))
            {
                Console.WriteLine("The product of the three is negative.");
            }
            else if ((a > 0) && (b > 0) && (c < 0))
            {
                Console.WriteLine("The product of the three is negative.");
            }
            else if ((a < 0) && (b > 0) && (c > 0))
            {
                Console.WriteLine("The product of the three is negative.");
            }
            else if ((a < 0) && (b < 0) && (c < 0))
            {
                Console.WriteLine("The product of the three is negative.");
            }
            else if ((a < 0) && (b < 0) && (c > 0))
            {
                Console.WriteLine("The product of the three is positive.");
            }
            else if ((a > 0) && (b < 0) && (c < 0))
            {
                Console.WriteLine("The product of the three is positive.");
            }
            else if ((a < 0) && (b > 0) && (c < 0))
            {
                Console.WriteLine("The product of the three is positive.");
            }
            else if ((a > 0) && (b > 0) && (c > 0))
            {
                Console.WriteLine("The product of the three is positive.");
            }
        }
    }
}
